<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广东机电职业技术学院 汽车学院</title>
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>css/firstpage.css">
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>css/secondpage.css">
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>css/total.css">
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>css/grid.css">
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>css/intranet.css">
<script src="<?php echo JS_PATH;?>js/navntab.js" type="text/javascript"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>jquery.min.js"></script>
<style>
    #pages { padding:14px 0 10px; font-family:宋体 }
#pages a { display:inline-block; height:22px; line-height:22px; background:#fff; border:1px solid #e3e3e3; text-align:center; color:#333; padding:0 10px;text-decoration:none }
#pages a.a1 { background:url(../images/admin_img/pages.png) no-repeat 0 5px; width:56px; padding:0 }
#pages a:hover { background:#f1f1f1; color:#000; text-decoration:none }
#tab a{color: #2c6dad;text-decoration: none;}
#tab a:hover{color: #ffffff;}
</style>
</head>

<body>
    <div id="header">
        <a id="logo" href="http://www.gdmec.cn/"><img alt="header" width="370" height="113" src="<?php echo IMG_PATH;?>img/logo1.gif"/></a>
    </div>

        <?php
function menu($rootid){
  ?>
  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=908e98fee724370aae1c9bffadf4f44c&action=category&catid=%24rootid&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>$rootid,'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'20',));}?>
    <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
        <?php
        if(count($data) == 0){
        return;
        }
        $c = $r['arrchildid'];
        $c = explode(',',$c);
        if(count($c) != 1){
        ?>
        <li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
        <a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a>
        <ul>
        <?php menu($r['catid']);?>
        </ul>
        </li>
        <?php
        }else if(count($c) == 1){
        ?>
        <li><a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></li>
        <?php
        }
        ?>
        <?php $n++;}unset($n); ?>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        <?php 
        }
?>
<div id="menu">
    <ul id="navigation">
        <li ><a href="<?php echo APP_PATH;?>index.php">首页</a></li>
    <?php menu('0');?>
  </ul>
</div>